.wrapper{
    width: 70%;
    height: 200px;
    border: 1px solid #ad5673;
    margin: 0 auto ;
}

/* display属性 */
.layout2 li{
    display: inline;/*block是块级，inline是行级*/
}

.layout2 span{
    display: block;
}

.layout2 p{
    display: inline-block;
}

/* 弹性盒子 */
.layout3{
    display: flex;
    flex-direction: row;
}

.layout3>div{
    background:rgb(118, 248, 129);
    margin:0 10px;
    flex: 1;
}

/* 网格 */
.layout4{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;/*fr为等分*/
    grid-template-rows: 75px 75px;
    grid-gap: 5px;
}

.layout4>div{
    background:rgb(243, 83, 222);
    border-radius: 5px;
}

.layout5{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;/*fr为等分*/
    grid-template-rows: 75px 75px;
    grid-gap: 5px;
}

.layout5>div{
    background:rgb(243, 83, 222);
    border-radius: 5px;
}

.layout5 .box1{
    grid-column: 2/4;
    grid-row: 1;
}

.layout5 .box2{
    grid-column: 1;
    grid-row: 1/3;
}

.layout5 .box3{
    grid-column: 3;
    grid-row: 2;
}

/* 浮动 */
.layout6>div{
    float: left;
    background:rgb(240, 243, 63);
    border-radius: 5px;
    margin: 5px;
}

.layout6 .box3{
    float: right;
}

/* 定位 */
.layout7{
    position: relative;
}

.layout7>div{
    background: rgb(46, 121, 207);
    border-radius: 5px;
    margin: 5px;
}

.layout7 .box2{
    position: relative;
    left: 0px;
    top: 50px;
}

.layout7 .box3{
    position: absolute;
    left: 0px;
    top: 100px;
}

/* CSS表格布局 */
.layout8 form{
    display: table;
    border-collapse: separate;
    border-spacing: 5px;
}

.layout8 div{
    display: table-row;
}

.layout8 label,.layout8 input{
    display: table-cell;
}

.layout8 label{
    width: 100px;
    text-align: right;
    padding-right: 10px;
}

.layout8 input{
    width: 200px;
}

.layout8 p{
    display: table-caption;
    caption-side: bottom;
    text-align: center;
}

/* 多列布局 */
.layout9{
    /* column-count: 2; */
    column-width: 50px;
}